import request from '@/utils/request';

import { OPS_URL } from '@/config/query';

export function queryMenu() {
  return request(`${OPS_URL}/user/permission_none/permission/menu`, {
    sort: 'orderNo',
  })
}

export function queryButton(parentId) {
  return request(`${OPS_URL}/user/permission_none/permission/btn/${parentId}`)
}
